#include<stdio.h>

char *itoa(char *p,int num)
{
	int r,i=0,j;

	while(num)
	{
		r = n%10;
		n /= 10;
		p[i++]=r+'0';
	}
	p[i] = '\0';

}
